package com.tripwego.client.ui.widget;

import com.google.gwt.event.shared.EventBus;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.FlexTable;
import com.google.gwt.user.client.ui.Label;
import com.tripwego.client.ui.pageVoyage.IVoyageView;

public class LeftTopPanelWidget extends Composite implements IVoyageView {

	/*
	 * Elements graphiques
	 */
	private FlexTable viewPanel = new FlexTable();

	private Label lblTitle = new Label("Actions");

	/**
	 * 
	 */
	public LeftTopPanelWidget() {
		super();
		viewPanel.setBorderWidth(0);

		viewPanel.setStyleName("CRTitleWidget");
		viewPanel.setSize("350px", "");

		viewPanel.setWidget(0, 0, lblTitle);
		viewPanel.getCellFormatter().setWidth(0, 0, "1%");
		lblTitle.setWidth("1%");
		lblTitle.setWordWrap(false);
		lblTitle.setStyleName("lblCRHover");

		initWidget(viewPanel);
	}

	@Override
	public void setPresenter(Presenter presenter) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void setEventBus(EventBus eventBus) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void init() {
		// TODO Auto-generated method stub
		
	}
}
